package com.bird.system.application.auth

import com.bird.system.application.auth.pl.LoginResponse
import com.bird.system.application.common.pl.AuthUserInfo

/**
 * 用户信息转换为登录响应
 */
fun AuthUserInfo.toLoginResponse(accessToken: String, expires: Long): LoginResponse {
    return LoginResponse(id, accessToken, expires)
}